package fire.pritise.oo.day05;

public class Test_demo {
	public static void main(String[] args) {
		Person p1 = new Doctor(5000);
		p1.sayhi();
		
//		Person p2 = new Student(12345);
//		p2.sayhi();
//		
//		
//		
//		Doctor d1 = new Doctor(5000);
//		d1.sayhi();
//		
//		Student st1 = new Student(3456);
//		st1.sayhi();
		
		
		p1.sayhi();
		Person pp = new Person("asdasd", 33, "asdasd");
		pp.sayhi();
	}
}

